%h1 Spisak firmi, ali sada napisano u haml-u
  
= alpha_links('list') 

%table#firms
  %tr
    %th Naziv
    %th Opis
    %th Report heading

  -@firms.each do |firm|
    %tr
      %td= link_to h(firm.name), firm 
      %td= h firm.description
      %td= h firm.report_heading
      %td= link_to 'Edit', edit_firm_path(firm) 
      %td= link_to 'Destroy', firm, :confirm => 'Are you sure?', :method => :delete 
%br

= link_to 'Nova firma', new_firm_path 
